package com.itheima.dao;

import com.itheima.pojo.Order;

import java.util.List;
import java.util.Map;

/**
 * @author ：wanghao
 * @date ：Created in 2020/12/1
 * @description ：
 * @version: 1.0
 */
public interface OrderDao {
    public List<Order> findByCondition(Order order);
    public void add(Order order);
    public Map findById(Integer id);
    public Integer findOrderCountByDate(String today);
    public Integer findOrderStatusCountByDate(String today);
    public Integer findOrderCountByAfterDate(String thisWeekMonday);
    public Integer findOrderStatusCountByAfterDate(String thisWeekMonday);
}
